package zz.app.jmhviewer;

import android.content.Context;
import android.content.res.Configuration;

/**
 * Created by zz on 2018/2/1 22:19.
 */

public class Utils {
    public static boolean isScreenOriatationPortrait(Context context) {
        return context.getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT;
    }
}
